//传输底部导航栏状态
const under = {
    state: null != window.sessionStorage.getItem('tab') ? JSON.parse(window.sessionStorage.getItem('tab')) :

        {
            status: {
                cho1: false,
                cho2: false,
                cho3: false,
                cho4: false
            }
        },

    getters: {
        getUnder(state) {
            return state.status;
        }
    },

    mutations: {
        updateUnder(state, status) {
            state.status = status;
        }
    },
    actions: {
        asyncUpdataUnder(content, status) {
            content.commit('updateUnder', status)
        }
    },
}

export default under;